package com.vegetable.modules.entity.finance.vo;

import com.baomidou.mybatisplus.core.metadata.IPage;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 客户销售分页统计VO
 */
@Data
@ApiModel(value = "客户销售分页统计VO", description = "客户销售分页统计数据及总销售统计")
public class CustomerSalesPageVO {

    @ApiModelProperty(value = "分页数据")
    private IPage<CustomerSalesVO> pageData;

    @ApiModelProperty(value = "总销售金额")
    private BigDecimal totalSalesAmount;

    @ApiModelProperty(value = "总回款金额")
    private BigDecimal receivedAmount;

    @ApiModelProperty(value = "总未回款金额")
    private BigDecimal unreceivedAmount;

    @ApiModelProperty(value = "总回款率")
    private BigDecimal collectionRate;

    @ApiModelProperty(value = "总订单数")
    private Long orderCount;
}